package com.example.pc.videodemo.emq.model

open class MqttMassgeSubscribBase {
    var code: String = ""
    var sn: String? = null
    var data: Data? = null

    data class Data(var action: String = "", var fromSn: String = "", var ipAddress: String,var phone : String,var location:String)

    override fun toString(): String {
        return "MqttMassgeSubscribBase(code='$code', sn=$sn, data=$data)"
    }
}